home *** CD-ROM | disk | FTP | other *** search
- Path: lugb.latrobe.edu.au!lux!cs102238
- From: cs102238@lux.latrobe.edu.au (Gregary John Boyles )
- Newsgroups: comp.lang.c
- Subject: RE : C equivalent to BASIC inkey.
- Date: 15 Jan 1996 13:27:18 GMT
- Organization: La Trobe University
- Distribution: world
- Message-ID: <4ddknm$2m9@lugb.latrobe.edu.au>
- NNTP-Posting-Host: lux.latrobe.edu.au
-
- If you have a header file called conio.h then look for function getch(),
- which reads a character from the key board buffer (with out requiring
- return to be pressed). You may also be interested in kbhit() which
- returns true if a key has been pressed but does not retrieve the character
- from the buffer. Otherwise you will have to write your own routines using
- DOS interrupts (see Ralph Brown's interrupt listing).
-
-
-